		<div id="sidebar" >
			<?php include_component('costabrava', 'nordSudVillages') ?>			
			<?php include_partial('global/suggestionsSidebar') ?>
			<?php if ($sf_user->numberFavorites()>0): ?>
			<?php echo link_to('Mes favoris ('.$sf_user->numberFavorites().')', '@list_favorites', array('id'=>'favoritesNumber')) ?>
			<?php endif; ?>
			
			
		</div>	
		<div id="main">		
<div id="breadcrumbs"><?php echo link_to('Accueil', '@homepage') ?> > <?php echo link_to('Guide Costa Brava', '@costa_brava') ?> > Villages</div>
<div class="postSection">
<h1>Guide de villages de la Costa Brava</h1>	
<blockquote><p>La Costa Brava devient un espace unique fruit de l&#8217;union des montagnes des Pyr&#233;n&#233;es et de la mer M&#233;diterran&#233;</p></blockquote>
</div>

<div id="nbResults" style="float:none;"><?php echo $pager->getNbResults() ?> villages (<?php echo $pager->getFirstIndice() ?> - <?php echo $pager->getLastIndice() ?>)</div>
			
				<?php if ($pager->haveToPaginate()): ?>
		<div class="pagination-searcher-top">
<ul class="pagination-flickr">
  <?php $links = $pager->getLinks(); foreach ($links as $page): ?>
    <li>
	<a 
	<?php if ($sf_params->get('page')==$page): ?>
		class='active'
	<?php endif ?>	
		href="<?php echo url_for($sf_context->getInstance()->getRouting()->getCurrentRouteName()) ?>/<?php echo $page ?>">
    <?php echo $page ?></a>
	</li>
  <?php endforeach ?>
 </ul>
</div>
	<?php endif ?>	
	
<?php foreach($pager->getResults() as $village): ?>
			<div class="post" style="min-height:130px;">
				<a name="<?php echo $village->getNomVillage() ?>"></a>	
				<h1><?php echo link_to($village->getNomVillage(), 'village_show', $village) ?></h1>
				<p>
				<?php echo link_to(image_tag(sfConfig::get('app_thumb_village_path').$village->getSlug().'/'.$village->getSlug().'.jpg', 'class=float-left width=100 height=75'), 'village_show', $village) ?>
			</p>
			<p><?php echo $village->getDescPreVillage() ?></p>				
				
				
			</div>
<?php endforeach ?>

	<?php if ($pager->haveToPaginate()): ?>
		<div class="pagination-searcher-bottom">
	<ul class="pagination-flickr">
  <?php $links = $pager->getLinks(); foreach ($links as $page): ?>
    <li>
	<a 
	<?php if ($sf_params->get('page')==$page): ?>
		class='active'
	<?php endif ?>	
		href="<?php echo url_for($sf_context->getInstance()->getRouting()->getCurrentRouteName()) ?>/<?php echo $page ?>">
    <?php echo $page ?></a>
	</li>
  <?php endforeach ?>
 </ul>
	<?php endif ?>	
</div>